<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/user" th:action="@{/user}" method="post" th:object="${user}">
    <input type="hidden" name="id" th:value="*{id}"><br/>
    姓名:<input type="text" name="psname" th:value="*{psname}"><br/>
    证件号：<input type="text" name="cardno" th:value="*{cardno}"><br/>
    <input type="submit" value="提交"/>
</form>
</body>
</html>